package c.c.c.a.e;

import android.content.Context;
import c.c.c.a.i.c;
import c.c.c.a.n;
import org.json.JSONObject;

/* compiled from: CrashBody */
public class a {
    public JSONObject a;

    public a() {
        this.a = new JSONObject();
    }

    public a a(b bVar) {
        b("header", bVar.b);
        return this;
    }

    public void b(String str, Object obj) {
        try {
            this.a.put(str, obj);
        } catch (Exception unused) {
            Context context = n.a;
            c cVar = n.d;
        }
    }

    public a(JSONObject jSONObject) {
        this.a = jSONObject;
    }
}
